function Factorial (i){
if (i>=1){
return Factorial(i-1)*i
}
if (i==0){
return 1;
}
}
x=prompt("Pick a number to find the factorial: ")
alert(Factorial(x));

